package cn.com.aiton.common.model.relation;

import cn.com.aiton.common.model.BaseDomain;

public class SignalAndVideoDomain extends BaseDomain {
    //信号节点ID
    private Long nodeId;
    //视频节点ID
    private Long videoId;
    //其它节点，一个路口一般只能有一个球机，这里可以增加一个用点
    private Long otherNodeId;

    public SignalAndVideoDomain(Long nodeId, Long videoId, Long otherNodeId) {
        this.nodeId = nodeId;
        this.videoId = videoId;
        this.otherNodeId = otherNodeId;
    }

    @Override
    public String toString() {
        return "SignalAndVideoEntity{" +
                "nodeId=" + nodeId +
                ", videoId=" + videoId +
                ", otherNodeId=" + otherNodeId +
                '}';
    }

    public SignalAndVideoDomain() {
    }

    public Long getNodeId() {
        return nodeId;
    }

    public void setNodeId(Long nodeId) {
        this.nodeId = nodeId;
    }

    public Long getVideoId() {
        return videoId;
    }

    public void setVideoId(Long videoId) {
        this.videoId = videoId;
    }

    public Long getOtherNodeId() {
        return otherNodeId;
    }

    public void setOtherNodeId(Long otherNodeId) {
        this.otherNodeId = otherNodeId;
    }
}
